package org.example.medical.entity;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class DataSharing {
    private Long shareId;
    private String hospital;
    private String department;
    private Integer sharedCount;
    private LocalDateTime lastShareTime;
    private Integer isDeleted; // 逻辑删除标志

    // Getters and Setters
    public Long getShareId() {
        return shareId;
    }

    public void setShareId(Long shareId) {
        this.shareId = shareId;
    }

    public String getHospital() {
        return hospital;
    }

    public void setHospital(String hospital) {
        this.hospital = hospital;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public Integer getSharedCount() {
        return sharedCount;
    }

    public void setSharedCount(Integer sharedCount) {
        this.sharedCount = sharedCount;
    }

    public LocalDateTime getLastShareTime() {
        return lastShareTime;
    }

    public void setLastShareTime(LocalDateTime lastShareTime) {
        this.lastShareTime = lastShareTime;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
}